﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpSoda.Storage
{
    public interface IStateStorage
    {
        ulong SetState<T>(string objectName, T state, ulong flag = 0) where T : class;
        ulong GetState<T>(string objectName, out T state, ulong flag = 0) where T : class;
        List<T> GetStates<T>(params object[] filters) where T : class;
        T RemoveState<T>(string objectName) where T : class;
    }
}
